package com.zmx.job.admin.conf;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * @Description: 登录配置
 * @ClassName: LoginConfig
 * @Author zhaomxr
 * @Date 2021-12-22 10:21
 */
@Data
@Component
@ConfigurationProperties(value = "login.user")
public class LoginConfig {

    /**
     *  登录用户名
     */
    private String username;

    /**
     * 登录密码
     */
    private String password;
}
